package com.ylfstu.object_;

public class Equals01 {
    public static void main(String[] args) {
        A a = new A();
        A b = a;
        A c = b;

        "hello".equals("ascde");
        int il = 65;
        float fl = 65.0f;
        System.out.println(il==fl);
        System.out.println(a.toString());
        System.out.println(a.hashCode());
        Integer number = 12;
        number.equals(12);



    }
}
class A{
    @Override
    public String toString() {
        return "重写了toString()";
    }
}